<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<style type="text/css">
	.depart{
		font: 44px;
	}
	.ri{
		color: #007DDB;
		
	}
</style>
</head>

<body>
<!--背景-->
<div class="background"><div class="logo"></div></div>
<!--主内容开始-->
<div id="container">
  <div id="head">
    <a href="#" class="arrange" id="arrange"></a>
    <div class="yij"><a href="#">医技协同</a></div>
    <div class="h-right">
      <a href="#" class="home"></a>
      <img src="images/line.png" width="2" height="50" alt="" />
      <a href="#" class="cloud" id="cloud">
        <div class="same">云同步</div>
      </a>
      <img src="images/line.png" width="2" height="50" alt="" />
      <a href="#" class="bell"><span class="tip">3</span></a>
      <img src="images/line.png" width="2" height="50" alt="" />
      <div class="user">
        <div class="pho"><img src="images/photo.jpg" width="52" height="50" alt="" /></div>
        <span id="name">张末末
          <div class="user-info" id="twodm">
            <div class="jtt"></div>
            <div class="menu">
              <div class="first">
                <a href="#">个人信息</a>
              </div>
              <div class="second">
                <a href="#">通知<em>3</em></a>
              </div>
              <a href="#" class="quit">退出</a>
            </div>
          </div>
        </span>
        
      </div>
      <img src="images/line.png" width="2" height="50" alt="" />
      <a href="#" class="notice" id="notice"></a> 
    </div>
  </div>
  <!--侧边栏-右-->
  <div class="side-bar" id="side-bar">
    <div class="side-bar-in">
      <ul class="tab">
        <li class="title vtitle">
          <a href="#" class="lianxi"></a>
        </li>
        <li class="title">
          <a href="#" class="heart"></a>
        </li>
        <li class="title">
          <a href="#" class="setting"></a>
        </li>
        <div class="vcon" id="vcon" style="display:block;">
          <ul>
            <li>
              <div class="pic"><img src="images/doctor2.png" alt=""><span class="tis">10</span></div>
              <span>
                <h4>张美芳</h4>
                <p>厦门市第一医院</p>
              </span>
              <a href="#" class="v-big"></a>
            </li>
            <li class="xuanz">
              <div class="pic"><img src="images/doctor5.png" alt=""><span class="tis">10</span></div>
              <span>
                <h4>刘志泽</h4>
                <p>厦门市第二医院</p>
              </span>
              <a href="#" class="v-big"></a>
            </li>
            <li>
              <div class="pic"><img src="images/doctor3.png" alt=""><span class="tis">10</span></div>
              <span>
                <h4>赵美美</h4>
                <p>厦门市中山医院</p>
              </span>
              <a href="#" class="v-big"></a>
            </li>
            <li>
              <div class="pic"><img src="images/doctor6.png" alt=""></div>
              <span>
                <h4>王泽军</h4>
                <p>海沧医院</p>
              </span>
              <a href="#" class="v-big"></a>
            </li>
            <li>
              <div class="pic"><img src="images/doctor4.png" alt=""><span class="tis">10</span></div>
              <span>
                <h4>白丽兰</h4>
                <p>海军总医院</p>
              </span>
              <a href="#" class="v-big"></a>
            </li><li>
              <div class="pic"><img src="images/doctor7.png" alt=""><span class="tis">10</span></div>
              <span>
                <h4>何平安</h4>
                <p>福建医科大学附属医院</p>
              </span>
              <a href="#" class="v-big"></a>
            </li>
            <li>
              <div class="pic"><img src="images/doctor2.png" alt=""><span class="tis">10</span></div>
              <span>
                <h4>刘晶晶</h4>
                <p>武警医院</p>
              </span>
              <a href="#" class="v-big"></a>
            </li>
            <li>
              <div class="pic"><img src="images/doctor5.png" alt=""><span class="tis">10</span></div>
              <span>
                <h4>唐逸汸</h4>
                <p>福建省立医院院</p>
              </span>
              <a href="#" class="v-big"></a>
            </li>
          </ul>
        </div>
        <div class="vcon">2</div>
        <div class="vcon">
          <div class="block">
            <span>背景颜色选择</span>
            <a href="#" class="dot" id="blue"><img src="images/blue_dot.png" width="14" height="14" alt="" /></a>
            <a href="#" class="dot" id="pink"><img src="images/pink_dot.png" width="14" height="14" alt="" /></a>
            <a href="#" class="dot" id="green"><img src="images/green_dot.png" width="14" height="14" alt="" /></a>
          </div>
          <div class="block">
            <span>显示不在线医生</span>
            <a href="#" class="off" id="off"></a>
          </div>
          <div class="block">
            <span>消息提示</span>
            <a href="#" class="open" id="open"></a>
          </div>
        </div>
      </ul>
    </div>
  </div>
  <!--左侧栏begin-->
  <div class="left-bar" id="left-bar">
  </div>
  <!--左侧栏end-->
  <!--模块-->
  <div class="apply" id="">
    <div class="app-top">
      <div class="appmenu"><span class="depart">挂号 病人 病历</span></div>
      <div class="appmenu">
        
      </div>
      <div class="appmenu">
       
      </div>
      
      <div class="appmenu">
        
      </div>
      <div class="appmenu">
        
      </div>
    </div>
    <!---->
    <div class="app-con">
      <div class="qietab">
        <div class="qiehuan qiegreen"><a>病人病历查看</a></div>
        
      </div>
      <!--表格-->
      <div class="app-grid">
        <div class="t-head">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td class="riqi">&nbsp;</td>
              <td class="riqi">挂号时间</td>
              <td class="lx"></td>
			  <td class="riqi">姓名</td>
			  <td class="riqi">性别</td>
              <td class="dec">病情描述</td>              
              <td class="ri">查看病历</td>
            </tr>
          </table>
        </div>
        <div class="t-con">
         <div class="t-con1">
           <table width="100%" border="0" cellspacing="0" cellpadding="0">
			<c:if test="${!empty bean }">
				<c:forEach items="${bean.list }" var="cases">
					<tr class="biao">
		              <td class="riqi"><input name="" type="checkbox" value="" class="fxk" /></td>
		              <td class="riqi">${cases.createDate2}</td>
		              <td class="lx"></td>
		            	<td class="riqi">${cases.userName }</td>
		            	<td class="riqi">${cases.userSex }</td>
		              <td class="dec">${cases.content }</td> 
		               <td class="ri"><a id="look" href="casetoServlet?newsid=${cases.cId}" >点击查看</a></td>                   
		            </tr>
				</c:forEach>
			</c:if>	
			<%-- <c:if test="${empty bean }">
				<script>
					alert("1");
				</script>
			</c:if>  --%>       
          </table>
        </div>
        </div>
		<!--页码-->
        <div class="page">
          <div class="allselect">                                
          </div>
          <div class="pagein">
            <a href="#" class="lastpage"></a>
            <a href="caseServlet?pageno=${bean.currPageNo+1}" class="nextpage"></a>
            <span>第<em>${bean.currPageNo }</em>页，共<em>${bean.totalPageCount }</em>页</span>
            <a href="caseServlet?pageno=${bean.currPageNo-1}" class="nextpage" class="prevpage"></a>
            <a href="#" class="firstpage"></a>
          </div>
        </div>
      </div>
      
    </div>
    
  </div>
</div>
<!--主内容结束-->
</body>

<script src="js/jquery-1.7.1.min.js" language="javascript" type="text/javascript"></script>
<script src="js/jquery.mousewheel.js" type="text/javascript"></script>
<script src="js/jquery.jscrollpane.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.event.drag-1.5.min.js"></script>
<script type="text/javascript" src="js/jquery.touchSlider.js"></script>
<script type="text/javascript" src="js/jquery.nicescroll.js"></script>
<script src="js/slide.js" language="javascript" type="text/javascript"></script>
<!--[if IE 6]> <script src="../js/EvPng.js" type="text/javascript"></script> 
<script language="javascript" type="text/javascript"> 
EvPNG.fix("*");
</script> 
<![endif]-->
<script type="text/javascript">
        $(function () {
           // $("tbody>tr:even").addClass("even");  /*给奇数行添加样式*/
           // $("tbody>tr:odd").addClass("odd");  /*偶数行添加样式*/

            /*把单击行时，如果行处于没选中状态，则把样式设为选中状态
            ，当中的复选框设为选中状态；否则，移除选中状态，取消选中状态*/
            $("tbody>tr").click(function () {

                if ($(this).hasClass("v02")) {
                    $(this).removeClass("v02")
                    .find(":checkbox").attr("checked", false);
                }
                else {
                    $(this).addClass("v02")
                    .find(":checkbox").attr("checked", true);
                }
            });
						
        });
    </script>

</html>


